<!DOCTYPE html>
<!--suppress ThymeleafVariablesResolveInspection-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="Responsive Admin Dashboard Template">
        <meta name="keywords" content="admin,dashboard">
        <meta name="author" content="skcats">
        <!-- The above 6 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        
        <!-- Title -->
        <title>主页</title>
        <!--<div th:replace="includeJS::indexjs"></div>title-->
        <link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
        <link th:href="@{/assets/plugins/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
        <link th:href="@{/assets/plugins/font-awesome/css/font-awesome.min.css}" rel="stylesheet">
        <link th:href="@{/assets/plugins/icomoon/style.css}" rel="stylesheet">
        <link th:href="@{/assets/plugins/uniform/css/default.css}" rel="stylesheet"/>
        <link th:href="@{/assets/plugins/switchery/switchery.min.css}" rel="stylesheet"/>
        <link th:href="@{/assets/plugins/nvd3/nv.d3.min.css}" rel="stylesheet">

        <!-- Theme Styles -->
        <link th:href="@{/assets/css/ecaps.min.css}" rel="stylesheet">
        <link th:href="@{/assets/css/custom.css}" rel="stylesheet">
        <link rel="icon" th:href="@{/img/manager/register/logo.png}" type="image/png">

        <link rel="stylesheet" th:href="@{/layui/css/layui.css}" media="all" />
        <script th:src="@{/layui/layui.js}"></script>

        <!-- Javascripts -->
        <script th:src="@{/assets/plugins/jquery/jquery-3.1.0.min.js}"></script>
        <script th:src="@{/assets/plugins/bootstrap/js/bootstrap.min.js}"></script>
        <script th:src="@{/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js}"></script>
        <script th:src="@{/assets/plugins/uniform/js/jquery.uniform.standalone.js}"></script>
        <script th:src="@{/assets/plugins/switchery/switchery.min.js}"></script>
        <script th:src="@{/assets/plugins/d3/d3.min.js}"></script>
        <script th:src="@{/assets/plugins/nvd3/nv.d3.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.time.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.symbol.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.resize.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.tooltip.min.js}"></script>
        <script th:src="@{/assets/plugins/flot/jquery.flot.pie.min.js}"></script>
        <script th:src="@{/assets/plugins/chartjs/chart.min.js}"></script>
        <script th:src="@{/assets/js/ecaps.min.js}"></script>
        <script th:src="@{/assets/js/pages/dashboard.js}"></script>

    </head>
    <style>

        .layui-tab ul.layui-tab-title li:nth-child(1) i { display: none;} /*第一个不可删除*/
        .page-header{
            margin-top: -25px;
        }
        body{
             overflow-y: hidden;
             overflow-x: hidden;
         }
        ::-webkit-scrollbar {display:none}/*隐藏横向滚动条但可以滚动*/
    </style>
    <body>

        <!-- Page Container 手风琴内容-->
        <div class="page-container">
            <!-- Page Sidebar -->
            <div class="page-sidebar">
                <a class="logo-box" th:href="@{/workdiary/homework}">
                    <span>懵逼树</span>
                    <i class="icon-radio_button_unchecked" id="fixed-sidebar-toggle-button"></i>
                    <i class="icon-close" id="sidebar-toggle-button-close"></i>
                </a>
                <div class="page-sidebar-inner">
                    <div class="page-sidebar-menu">
                        <ul class="accordion-menu">
                            <li class="active-page">
                                <a th:href="@{/workdiary/homework}">
                                    <i class="menu-icon icon-home4"></i><span> 首 页</span>
                                </a>
                            </li>
                            <!--循环遍历-->
                            <li th:each="fm:${modules2}">
                                <span th:if="${fm.getModuleid() == 37}">
                                    <a href="#" th:data-id="${fm.getModulename()}" th:data-title="${fm.getModulename()}" class="site-demo-active" data-type="tabAdd" th:data-url="${fm.getController()}">
                                        <i th:class="${fm.getStyle()}"></i> <span th:text="${fm.getModulename()} "> 个人主页</span><i th:if="${fm.getModuleid() != 37}" class="accordion-icon fa fa-angle-left"></i><span th:if="${fm.getModuleid() == 37}" class="label label-danger">火箭 | 狗健</span>
                                    </a>
                                </span>
                                <a href="javascript:void(0);" th:if="${fm.getModuleid() != 37}">
                                    <i th:class="${fm.getStyle()}"></i> <span th:text="${fm.getModulename()} "> 个人主页</span><i th:if="${fm.getModuleid() != 37}" class="accordion-icon fa fa-angle-left"></i><span th:if="${fm.getModuleid() == 37}" class="label label-danger">火箭 | 狗健</span>
                                </a>
                                <ul class="sub-menu" th:if="${fm.getModuleid() != 37}">
                                    <li th:each="zm:${modules3}" th:if="${zm.getRoot() == fm.getModuleid()}">
                                        <a href="#" th:data-id="${zm.getModulename()}" th:data-title="${zm.getModulename()}" class="site-demo-active" data-type="tabAdd" th:data-url="${zm.getController()}">
                                            <i th:text="'&nbsp;'+${zm.getModulename()}" th:class="${zm.getStyle()}"> 员工请假</i>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <li>
                            <li>
                                <a href="#" data-id="更新日志" data-title="更新日志" class="site-demo-active" data-type="tabAdd" data-url="/skip/test">
                                    <i class="menu-icon icon-public"></i><span>更新日志</span><span class="label label-danger">1.0</span>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div><!-- /Page Sidebar -->
            
            <!-- Page Content -->
            <div class="page-content">
                <!-- Page Header -->
                <div class="page-header">
                    <div class="search-form">
                        <form action="#" method="GET">
                            <div class="input-group">
                                    <input type="text" name="search" class="form-control search-input" placeholder="查找一些...">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" id="close-search" type="button"><i class="icon-close"></i></button>
                                </span>
                            </div>
                        </form>
                    </div>
                    <nav class="navbar navbar-default">
                        <div class="container-fluid">
                            <!-- Brand and toggle get grouped for better mobile display -->
                            <div class="navbar-header">
                                <div class="logo-sm">
                                    <a href="javascript:void(0)" id="sidebar-toggle-button"><i class="fa fa-bars"></i></a>
                                    <a class="logo-box" href="index.html"><span>ecaps</span></a>
                                </div>
                                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                                    <i class="fa fa-angle-down"></i>
                                </button>
                            </div>
                        
                            <!-- Collect the nav links, forms, and other content for toggling -->
                        
                            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                                <ul class="nav navbar-nav">
                                    <li><a href="javascript:void(0)" id="collapsed-sidebar-toggle-button"><i class="fa fa-bars"></i></a></li>
                                    <li><a href="javascript:void(0)" id="toggle-fullscreen"><i class="fa fa-expand"></i></a></li>
                                    <li><a href="javascript:void(0)" id="search-button"><i class="fa fa-search"></i></a></li>
                                </ul>
                                <ul class="nav navbar-nav navbar-right">
                                    <!--个人资料部分-->
                                    <!--<li class="dropdown user-dropdown">-->
                                        <!--<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img th:src="@{/img/manager/login/f3.jpg}" alt="" class="img-circle"></a>-->
                                        <!--<ul class="dropdown-menu">-->
                                            <!--<li><a href="#">用户中心</a></li>-->
                                            <!--<li><a href="#"><span class="badge pull-right badge-danger">99</span>我的 消息</a></li>-->
                                            <!--<li role="separator" class="divider"></li>-->
                                            <!--<li><a data-url="/personage/topersonage" data-id="账号设置" data-title="账号设置" class="site-demo-active" data-type="tabAdd"  href="#" >账号 设置</a></li>-->
                                            <!--<li><a class="exit" href="/personage/exit">退出 登录</a></li>-->
                                        <!--</ul>-->
                                    <!--</li>-->
                                    <li>
                                        <a href="javascript:void(0)" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" class="right-sidebar-toggle"><img th:src="@{/img/manager/login/f4.png}"><span th:text="${session.user.getEmp_name()}"></span></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">用户中心</a></li>
                                            <li><a href="#"><span class="badge pull-right badge-danger">99</span>我的 消息</a></li>
                                            <li role="separator" class="divider"></li>
                                            <li><a data-url="/personage/topersonage" data-id="账号设置" data-title="账号设置" class="site-demo-active" data-type="tabAdd"  href="#" >账号 设置</a></li>
                                            <li><a class="exit" href="/personage/exit">退出 登录</a></li>
                                        </ul>
                                    </li>
                                    <li><a href="javascript:void(0)" class="right-sidebar-toggle" data-sidebar-id="main-right-sidebar"><i class="fa fa-envelope"></i></a></li>
                                    <li class="dropdown">
                                        <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bell"></i></a>
                                        <ul class="dropdown-menu dropdown-lg dropdown-content">
                                            <li class="drop-title">通知<a href="#" class="drop-title-link"><i class="fa fa-angle-right"></i></a></li>
                                            <li class="slimscroll dropdown-notifications">
                                                <ul class="list-unstyled dropdown-oc">
                                                    <li>
                                                        <a href="http://www.datouwang.com/"><span class="notification-badge bg-primary"><i class="fa fa-photo"></i></span>
                                                            <span class="notification-info">完成上传照片到图库 <b>"南非"</b>.
                                                                <small class="notification-date">20:00</small>
                                                            </span></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"><span class="notification-badge bg-primary"><i class="fa fa-at"></i></span>
                                                            <span class="notification-info"><b>无名氏</b> 在一篇文章中提到你 "更新 v1.5".
                                                                <small class="notification-date">06:07</small>
                                                            </span></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"><span class="notification-badge bg-danger"><i class="fa fa-bolt"></i></span>
                                                            <span class="notification-info">4 你所使用的应用程序有新的特别优惠!
                                                                <small class="notification-date">昨天</small>
                                                            </span></a>
                                                    </li>
                                                    <li>
                                                        <a href="#"><span class="notification-badge bg-success"><i class="fa fa-bullhorn"></i></span>
                                                            <span class="notification-info">他是科技界的传说，他以一己之力推动了全球强人工智能的研究 他就是- <b>许先生</b>  !
                                                                <small class="notification-date">昨天</small>
                                                            </span></a>
                                                    </li>
                                                </ul>
                                            </li>
                                        </ul>
                                    </li>
                                    <li class="layui-nav-item layui-hide-xs">
                                        <a href="/personage/exit"><i class="fa fa-sign-out"></i> 退出</a>
                                    </li>
                                </ul>
                            </div><!-- /.navbar-collapse -->
                        </div><!-- /.container-fluid -->
                    </nav>
                </div><!-- /Page Header -->
                <!-- Page Inner -->
                <div class="page-inner" style="margin-left: 0px;padding-left: 0px;padding-right: 0px;padding-bottom: 0px">
                    <!--引入页面-->
                    <article style="" id="main-wrapper">
                        <div class="layui-tab layui-tab-brief" lay-allowClose="true" lay-filter="demo">
                            <ul style="width: 1220px" class="layui-tab-title" id="layui_tab">
                                <li lay-id="shouye" class="layui-this">
                                    首页
                                </li>
                            </ul>
                            <button id="closeall" type="button" style="margin-left: 1220px;margin-top: -50px;" class="layui-btn layui-btn-xs layui-btn-danger">关闭所有</button>
                            <div class="layui-tab-content">
                                <div id="neir" class="layui-tab-item layui-show">
                                    <iframe src="/skip/headerList" name="goto"  frameborder="0"  style="width:  calc(100vw - 250px);height: calc(100vh - 150px);"></iframe>
                                </div>
                            </div>
                        </div>

                    </article><!-- Main Wrapper -->
                </div><!-- /Page Inner 邮箱内容 -->
                <div class="page-right-sidebar" id="main-right-sidebar">
                    <div class="page-right-sidebar-inner">
                        <div class="right-sidebar-top">
                            <div class="right-sidebar-tabs">
                                <!-- Nav tabs -->
                                <ul class="nav nav-tabs" role="tablist">
                                    <li role="presentation" class="active" id="chat-tab"><a href="#chat" aria-controls="chat" role="tab" data-toggle="tab">chat</a></li>
                                    <li role="presentation" id="settings-tab"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">settings</a></li>
                                </ul>
                            </div>
                            <a href="javascript:void(0)" class="right-sidebar-toggle right-sidebar-close" data-sidebar-id="main-right-sidebar"><i class="icon-close"></i></a>
                        </div>
                        <div class="right-sidebar-content">
                            <!-- Tab panes -->
                            <div class="tab-content">
                                <div role="tabpanel" class="tab-pane active" id="chat">
                                    <div class="chat-list">
                                        <span class="chat-title">Recent</span>
                                        <a href="javascript:void(0);" class="right-sidebar-toggle chat-item unread" data-sidebar-id="chat-right-sidebar">
                                            <div class="user-avatar">
                                                <img src="http://via.placeholder.com/40x40" alt="">
                                            </div>
                                            <div class="chat-info">
                                                <span class="chat-author">David</span>
                                                <span class="chat-text">where u at?</span>
                                                <span class="chat-time">08:50</span>
                                            </div>
                                        </a>
                                        <a href="javascript:void(0);" class="right-sidebar-toggle chat-item unread active-user" data-sidebar-id="chat-right-sidebar">
                                            <div class="user-avatar">
                                                <img src="http://via.placeholder.com/40x40" alt="">
                                            </div>
                                            <div class="chat-info">
                                                <span class="chat-author">Daisy</span>
                                                <span class="chat-text">Daisy sent a photo.</span>
                                                <span class="chat-time">11:34</span>
                                            </div>
                                        </a>
                                    </div>
                                    <div class="chat-list">
                                        <span class="chat-title">Older</span>
                                        <a href="javascript:void(0);" class="right-sidebar-toggle chat-item" data-sidebar-id="chat-right-sidebar">
                                            <div class="user-avatar">
                                                <img src="http://via.placeholder.com/40x40" alt="">
                                            </div>
                                            <div class="chat-info">
                                                <span class="chat-author">Tom</span>
                                                <span class="chat-text">You: ok</span>
                                                <span class="chat-time">2d</span>
                                            </div>
                                        </a>
                                        <a href="javascript:void(0);" class="right-sidebar-toggle chat-item active-user" data-sidebar-id="chat-right-sidebar">
                                            <div class="user-avatar">
                                                <img src="http://via.placeholder.com/40x40" alt="">
                                            </div>
                                            <div class="chat-info">
                                                <span class="chat-author">Anna</span>
                                                <span class="chat-text">asdasdasd</span>
                                                <span class="chat-time">4d</span>
                                            </div>
                                        </a>
                                        <a href="javascript:void(0);" class="right-sidebar-toggle chat-item active-user" data-sidebar-id="chat-right-sidebar">
                                            <div class="user-avatar">
                                                <img src="http://via.placeholder.com/40x40" alt="">
                                            </div>
                                            <div class="chat-info">
                                                <span class="chat-author">Liza</span>
                                                <span class="chat-text">asdasdasd</span>
                                                <span class="chat-time">&nbsp;</span>
                                            </div>
                                        </a>
                                        <a href="javascript:void(0);" class="load-more-messages"  data-toggle="tooltip" data-placement="bottom" title="Load More">&bull;&bull;&bull;</a>
                                    </div>
                                </div>
                                <div role="tabpanel" class="tab-pane" id="settings">
                                    <div class="right-sidebar-settings">
                                        <span class="settings-title">General Settings</span>
                                        <ul class="sidebar-setting-list list-unstyled">
                                            <li>
                                                <span class="settings-option">Notifications</span><input type="checkbox" class="js-switch" checked />
                                            </li>
                                            <li>
                                                <span class="settings-option">Activity log</span><input type="checkbox" class="js-switch" checked />
                                            </li>
                                            <li>
                                                <span class="settings-option">Automatic updates</span><input type="checkbox" class="js-switch" />
                                            </li>
                                            <li>
                                                <span class="settings-option">Allow backups</span><input type="checkbox" class="js-switch" />
                                            </li>
                                        </ul>
                                        <span class="settings-title">Account Settings</span>
                                        <ul class="sidebar-setting-list list-unstyled">
                                            <li>
                                                <span class="settings-option">Chat</span><input type="checkbox" class="js-switch" checked />
                                            </li>
                                            <li>
                                                <span class="settings-option">Incognito mode</span><input type="checkbox" class="js-switch" />
                                            </li>
                                            <li>
                                                <span class="settings-option">Public profile</span><input type="checkbox" class="js-switch" />
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="page-right-sidebar" id="chat-right-sidebar">
                    <div class="page-right-sidebar-inner">
                        <div class="right-sidebar-top">
                            <div class="chat-top-info">
                                <span class="chat-name">Noah</span>
                                <span class="chat-state">2h ago</span>
                            </div>
                            <a href="javascript:void(0)" class="right-sidebar-toggle chat-sidebar-close pull-right" data-sidebar-id="chat-right-sidebar"><i class="icon-keyboard_arrow_right"></i></a>
                        </div>
                        <div class="right-sidebar-content">
                            <div class="right-sidebar-chat slimscroll">
                                <div class="chat-bubbles">
                                <div class="chat-start-date">02/06/20205:58PM</div>
                                    <div class="chat-bubble them">
                                        <div class="chat-bubble-img-container">
                                            <img src="http://via.placeholder.com/38x38" alt="">
                                        </div>
                                        <div class="chat-bubble-text-container">
                                            <span class="chat-bubble-text">Hello</span>
                                        </div>
                                    </div>
                                    <div class="chat-bubble me">
                                        <div class="chat-bubble-text-container">
                                            <span class="chat-bubble-text">Hello!</span>
                                        </div>
                                    </div>
                                <div class="chat-start-date">03/06/2017 4:22AM</div>
                                    <div class="chat-bubble me">
                                        <div class="chat-bubble-text-container">
                                            <span class="chat-bubble-text">lorem</span>
                                        </div>
                                    </div>
                                    <div class="chat-bubble them">
                                        <div class="chat-bubble-img-container">
                                            <img src="http://via.placeholder.com/38x38" alt="">
                                        </div>
                                        <div class="chat-bubble-text-container">
                                            <span class="chat-bubble-text">ipsum dolor sit amet</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="chat-write">
                                <form class="form-horizontal" action="javascript:void(0);">
                                    <input type="text" class="form-control" placeholder="Say something">
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /Page Content -->
        </div><!-- /Page Container -->
    </body>
    <script>
        layui.use(['element','jquery','layer'], function() {
            var element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
            var $ = layui.jquery;
            var layer=layui.layer;

            //点击退出
            $(".exit").on('click',function(){layer.msg('点击退出',{icon: 6})})



            //触发事件
            var active = {
                //在这里给active绑定几项事件，后面可通过active调用这些事件
                tabAdd: function(url,id,name) {
                    //新增一个Tab项 传入三个参数，分别对应其标题，tab页面的地址，还有一个规定的id，是标签中data-id的属性值
                    //关于tabAdd的方法所传入的参数可看layui的开发文档中基础方法部分
                    element.tabAdd('demo', {
                        title: '<button type="button" class="layui-btn layui-btn-normal layui-btn-xs">'+name+'</button>',
                        content: '<iframe data-frameid="'+id+'" src="'+url+'" scrolling="auto" frameborder="0" name="goto" style="width: calc(100vw - 250px);height: calc(100vh - 150px);"></iframe>',
                        id: id //规定好的id
                    })
                    CustomRightClick(id); //给tab绑定右击事件
                },
                tabChange: function(id) {
                    //切换到指定Tab项
                    element.tabChange('demo', id); //根据传入的id传入到指定的tab项
                },
                tabDelete: function (id) {
                    element.tabDelete("demo", id);//删除
                }
                , tabDeleteAll: function (ids) {//删除所有
                    $.each(ids, function (i,item) {
                        element.tabDelete("demo", item); //ids是一个数组，里面存放了多个id，调用tabDelete方法分别删除
                    })
                }
            };


            //当点击有site-demo-active属性的标签时，即左侧菜单栏中内容 ，触发点击事件
            $('.site-demo-active').on('click', function() {
                var dataid = $(this);

                var tabtitle = $(".layui-tab-title li");
                if(tabtitle.length<11){
                    //这时会判断右侧.layui-tab-title属性下的有lay-id属性的li的数目，即已经打开的tab项数目
                    if ($(".layui-tab-title li[lay-id]").length <= 0) {
                        //如果比零小，则直接打开新的tab项
                        active.tabAdd(dataid.attr("data-url"), dataid.attr("data-id"),dataid.attr("data-title"));
                    } else {
                        //否则判断该tab项是否以及存在

                        var isData = false; //初始化一个标志，为false说明未打开该tab项 为true则说明已有
                        $.each($(".layui-tab-title li[lay-id]"), function () {
                            //如果点击左侧菜单栏所传入的id 在右侧tab项中的lay-id属性可以找到，则说明该tab项已经打开
                            if ($(this).attr("lay-id") == dataid.attr("data-id")) {
                                isData = true;
                            }
                        })
                        if (isData == false) {
                            //标志为false 新增一个tab项
                            active.tabAdd(dataid.attr("data-url"), dataid.attr("data-id"),dataid.attr("data-title"));
                        }
                    }
                    if(tabtitle.length==10){
                        layer.msg('标签数上限', {icon: 1})
                    }
                }
                //最后不管是否新增tab，最后都转到要打开的选项页面上
                active.tabChange(dataid.attr("data-id"));
            });

            function CustomRightClick(id) {
                //取消右键  rightmenu属性开始是隐藏的 ，当右击的时候显示，左击的时候隐藏
                $('.layui-tab-title li').on('contextmenu', function () { return false; })
                $('.layui-tab-title,.layui-tab-title li').click(function () {
                    $('.rightmenu').hide();
                });
                //桌面点击右击
                $('.layui-tab-title li').on('contextmenu', function (e) {
                    var popupmenu = $(".rightmenu");
                    popupmenu.find("li").attr("data-id",id); //在右键菜单中的标签绑定id属性

                    //判断右侧菜单的位置
                    l = ($(document).width() - e.clientX) < popupmenu.width() ? (e.clientX - popupmenu.width()) : e.clientX;
                    t = ($(document).height() - e.clientY) < popupmenu.height() ? (e.clientY - popupmenu.height()) : e.clientY;
                    popupmenu.css({ left: l, top: t }).show(); //进行绝对定位
                    //alert("右键菜单")
                    return false;
                });
            }

            $("#closeall").on('click',function(){
                var tabtitle = $(".layui-tab-title li");
                var ids = new Array();
                $.each(tabtitle, function (i) {
                    ids[i] = $(this).attr("lay-id");
                })
                ids[0]="1";
                //如果关闭所有 ，即将所有的lay-id放进数组，执行tabDeleteAll
                active.tabDeleteAll(ids);
            })


        });
    </script>
</html>